<!DOCTYPE html>
<html>
	<head>
		<meta  charset="UTF-8">
		<title>17</title>
	</head>
	<!--百度统计-->
	<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?04e828ac441acffeb4a6bc5698f79d55";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
	<body>
		<script>
			function 票价(年龄) {
				var 价格 = 120;
				if (年龄 < 5 || 年龄 > 65) {
					价格 = 0;
				}
				if (年龄 >= 5 && 年龄 < 18) {
                    价格=65;
				}
				return 价格;
			}

			alert(票价(1));
		</script>
	</body>
</html>
